import request from '@/utils/request'
import { path_platform } from '@/api/gateway'

export function getPublicKey(data) {
  return request({
    url: path_platform + '/interactive/',
    method: 'get',
    params: data,
  })
}

export function putPublicKey(data) {
  return request({
    url: path_platform + '/interactive/',
    method: 'put',
    data: data,
  })
}
